package com.css.dzj.dzjjcss.modules.statistics.service;

import com.css.dzj.dzjjcss.modules.press.entity.Press;
import com.css.dzj.dzjjcss.modules.resultregister.entity.ResultRegisterEntity;
import com.querydsl.core.QueryResults;
import org.springframework.data.domain.PageRequest;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface StatisticsService {
    /** 分页及多条件查询 **/
    QueryResults<ResultRegisterEntity> getPage(String projectName, String createUser, String createUserUnit, String status, String startTime, String endTime, String administrativeDivision, String supervisionType,String unitName ,PageRequest pageRequest);
    /** 导出Excel **/
    void exportToExcel(HttpServletResponse response, List<ResultRegisterEntity> registerEntityList);
    /** 统计 **/
    List<Object[]> chartList();
    /** 催办 **/
    void urge(Press press);
    /** 根据id获取信息 **/
    ResultRegisterEntity queryById(String id);
}
